import request from '@/utils/request'

export function getBannerList(data) {
  return request({
    url: '/banner/list',
    method: 'get',
    data
  })
}

export function postBanner(data) {
  return request({
    url: '/banner',
    method: 'post',
    data
  })
}

export function putBanner(data) {
  return request({
    url: '/banner',
    method: 'put',
    data
  })
}

export function deleteBanner(data) {
  return request({
    url: '/banner',
    method: 'delete',
    data
  })
}
